Minor update to check_q_msg()