Added more nuanced valid range & fill value handling to CTP after discussion with Rich