Issue #929: Checking type of hek results using isinstance()