Fixed bug in caching system (empty group error)