ResultCacheStatement fixed.
Bug fixes.