Fixed bug where deleteAll tried to delete same id multiple times.

Ensure find done in deleteAll only returns distinct ids. A wacky
combination of association and conditions can sometimes generate
multiple rows per id.