Use `idsQuery` for organisations, don't lowercase all queries

Fixes the sporadic test failures for organisation-by-id queries