Correct check of rlm_sql_select_query rcode