patching for https://github.com/toastdriven/django-haystack/issues/572