Fixed issue where error in processing of status was not handled correctly