Fix bug in HK2 runner such that it could not analyze complex classes properly