Fixed a bug where item cache was not updated