sometime the first argument is empty and in that case we need to remove ...

...the comma

Some validation errors in sails look kinda bad... so would be nice if you merge this.