Fixed typo in getHostIdentifier

Another tiny bug in this method. This typo caused uuid host identifiers to be regenerated every time query results are logged.

My bad, should have caught this in the initial CR.