Fixed problem with not working pagination on the Latest Posts template