To avoid PHP Notices, intialized variable $sql_limit_to_append, after it moved for fix bug [#3789]