Merge "Fix a minor error when checking valid luts.pfd." into main