Removing distinct() from Realm.

@bmunkholm