Merge "Fix a bug where `PURPOSE_BUGFIX` was added to wrong flag" into main