Using String for correlation keys to avoid pitfals when using xpath which uses an object instance which does not fulfill equals contract.