Fixes an issue where some page sef_urls would end up with a trailing slash and never be found