adds active_flag to realm, fixes #8