Check if the TOC-name is set to the current pages filename. If so, try to get the real name.