[searchcursor addon] Fix reverse searching of regexps

Closes #1364