Fixed the bug that was using all domains instead of prefixed in numerous cases.