Added test with query without ids (fails)