Fix bugs noted in iepr save function and the users domain list