Fix device plan cache key