Fixed #22550 -- Raise error on QuerySet reverse after slicing.

https://code.djangoproject.com/ticket/22550
remove extra newline (please check code with flake8)