Fixed compilation warnings on pagination mixin