Fix bug with single line entry

Stopped refreshing all entries when multiple hosts entered