Fix fatal mistake in transition to using domains