Fixed edge-case behaviour and added test that array of object lengths have to match.
Fixed edge-case behaviour and added test that array of object lengths have to match.

mmiller42/waterline,jonniedeb/waterline,waterlinejs/waterline,Atlantis-Software/offshore,moklick/waterline,jianpingw/waterline,metidia/waterline,ctartist621/waterline,tjwebb/waterline,mcanthony/waterline,luislobo/waterline,3032441712/waterline,balderdashy/waterline,contra/waterline,citizenken/waterline,devinivy/waterline,listepo/waterline,Atlantis-Software/waterline,particlebanana/waterline,atiertant/offshore,antoniopol06/waterline,kriswill/waterline,scippio/waterline,Zaggen/waterline,AlexisNo/waterline,dmarcelino/waterline,hippich/waterline