Change the order of the parameters in the Controller:getIds() method