Fixes two minor errors in domain_access.