CSC PT LUT fix from pull #730 to 5_3_X, now forward ported to 6_2_X