fixed incorrect treatment of -limit for "RowNum" dialect (used by Oracle)