when creating a model, with association, and association assigned null, waterline breaks

when creating a model, that has an association, if the association attribute is assigned [null] , it breaks waterline. Added check for null.

Ex, sending {"name":"some name", groups:[null]} for a user<==>group many-to-many association