Fixed pagination injection to stick pagination at the end of the function param stack