Fixing up the allowed hosts.