Liquid error: undefined method `keys' for nil:NilClass