Fixes pagination mixin.