Corrected invalid match expression in rock codebase, allowed Pointer vs Class in findCommonRoot