Fix bug with 0 len host lists

Also move version to 3 part versioning.