Fix comparison for null and boolean values

/to @ritch

See strongloop/loopback-datasource-juggler#132
How did our tests miss this?