Fixed a problem with the ports history entity not properly storing it's
reference to the Host entity.