prevent possible NPE on process instance state conversion from client => server