Add an option to ignore certain elements in an effective_path