Fixed a issue where the singularize function couldn't distinguish between words ending with es or s (Pages became Pag)