Fixed: Translation cache must be cleared when DEBUG mode is enabled
(cherry picked from commit bb4b192)
(cherry picked from commit 2703738)