Fix incorrect validation of a TPN's order