Fixed bug for when the path isn't an array and still needs the domain.