Fixed: Test for translation cache before any clearing attemps
(cherry picked from commit 9ccd825)
(cherry picked from commit 24a319d)