[-] Core: fix redirection loop for bugged versions of mysql using column name aliases on order by