BUG FIX: https://github.com/realm/realm-java/issues/515