hide tooltip if result is NULL

address hadley’s comment on #153