https://github.com/toastdriven/django-haystack/pull/530