Add another heuristic for detecting gems