[OPENENGSB-3761] handle correctly null values

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