Fixed problem with the pagination on the template Latest Posts when it is used as a frontpage.