959895 - Checking for nil for products

It appears that Rails is converting [] to nil for JSON calls. Thus, we need to
check if params has products as a key instead of just checking that it's
truthy.