Use ANY VALUES instead of ID IN() to speed up Postgres

Another optimization for large ID IN queries.. plz review @ericnewcomer 
Ah, right, ok. Makes sense.