I'm not sure how you are using the Hosted Domains function in formula mode. There are no fields as inputs. Are you expanding the formula against a list of domains? If so, that will create problems because the formula are set to produce an array of 100 items for every domain in your list.
See this picture for what I mean with fields as inputs in the formula: