Realm configuration for default was still setting null realm value. Causing problems.