IndirectMap.containsKey leads to Exception because DISTINCT on @Lob-Field