Moved the sanitization ahead of room validation