Fix issue with duplicate key accel.

A cut&paste bug introduce for the local cache support.