sql viaJunctor changed so no duplicate rows are returned

This should solve balderdashy/sails-postgresql#116

Postgresql is not the only affected adapter, the mysql adapter will benefit from this patch too.