Fix cache access in method scoring related to initializer expressions