Fix pagination component so it can also use the Model.field notation