MappingFilter: fix IndexOutOfBoundsException when attribute is not present