Fixed exception when writing to cache with an uncached service
Merge pull request #135 from softwaremaverick/fix-uncached-service

Fixed exception when writing to cache with an uncached service