Fixed getPage() adding '-page' to the slug even when it was not required