Make pagination_helper refer to correct model so it works for has_many pagination