This results in a NullPointerException in BeanSet in the equals method.
There is the same issue with BeanList and BeanMap.
The issue here is that a refresh on a bean can't really refresh the associated many properties. All it can do is set a lazy loading proxy if no value is currently set for the associated many.
That is, you need to use refreshMany to refresh associated many properties.
Fixed in HEAD.