Query for generating roomlist replaced.