Strip the MIME format from the current_path when doing a compare in on_path? We are trying to determine if we are on the callback path and the use of a non-default format would result in erroneously not running the callback routines.