fixes removal of outdated controller action upon redefinition of pagination action

Removing outdated controller pagination methods (e.g. action_for Model, :foo) was impossible due to a faulty check, resulting in 'residue-actions' (e.g. :paginate_model existing alongside :foo for the example above).

There's no ticket for this atm, as I just stumbled upon it.