PEP8 fixes.
Bugfix in search next-previous cursor positioning.