Fixing bug where a domain containing any x, n or - would result in failures. Fix #6.