fix pagination on recommendations page