[OPENENGSB-3761] handle null values correctly

http://issues.openengsb.org/jira/browse/OPENENGSB-3761