comparison fix for null/undefined values

Sails-Disk fails with models that contain null/undefined values.  Fix for comparison of null values.