clean partials instance before returning cache
Merge pull request #162 from nemtsov/bug/cache_partials_instance

Clean partials instance before returning cache