Update mqtranslate_core.php

optimization.. less-recursive function