Fixed typing of heuristic inspector