Handling the missing rooms, users in ref with [] queries.