Fixed incompatibility with Django-Haystack tests.