We recently upgraded our application to 5.2.10 and this bug is still present. The fix is still in the same location in AbstractEntityPersister.