Filter instead of query study IDs