fixes #2537 - audit details on deleted host fail
fixes #2546 - audit details error - undefined method 'map' for string