Query having for orderby_num() returns syntax error in CWM because of internal-forcing LIMIT clause