itag ordering: Simplify lookaround function