959895 - Handling 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.
Merge pull request #2330 from daviddavis/temp_1368884796

959895 - Handling nil for products