Fix prefetched translations for Django 1.4 and Django 1.5