filter out subslots when querying slots