Tapering before median smooth subtract, as the upwards spike at the end of many spectra turns into a downwards spike when the smoothed median is subtracted, creating a strong matching feature out of nothing.