fixes #4289 - fix issue deleting lookup values for hosts