Reduce number of events queried during room creation. Contributed by Nick @ Beeper (@fizzadar).