Improved handling of WCS header cards in PlateHeader