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

Another optimization for large ID IN queries.. plz review @ericnewcomer 
```runs``` is a set of ids.