SC#QCADOOMESCLS-551 changed validation for master orders and fix NPE
SC#QCADOOMESCLS-551 changed validation for master orders and fix NPE