Adds missing pagination links