fix incorrectly removing entries when page's filename is ascii