Fixes #5383: ncf doesn't parse ifvarclass into the class_context