Adding pipeline capability for coupling removal, and correcting an error where data was being sorted on LST instead of HA