BS-1404, fixed deleteProcessInstances errors which were not passed to caller stack