If a trailing slash is included in PageList::filterByPath, remove it