fixed: value.equals(item.getValue()) not working with Objects

String-Representations of the Objects should be used in order to have a correct equals statement.
Check: https://issues.jboss.org/browse/RF-13101