rlm_sql: "NUMERIC VALUE OUT OF RANGE" error