Tweaks to fix bad data from photutils