Fixed bug related to BeanPathAdapter that would cause an
IllegalArgumentException when a field name is a substring of a previous
field name.