Fix MinionPro check in TOC definition by wrapping in \AtBeginDocument