Completion fixes

This makes some more fixes to the regex and fixes a regression with payee completion.  Payee completion works again now.

In addition a problem that required a double tab to expand is fixed.  This was due to an input expanding to itself.

I actually originally thought that this was a feature.  Because I always type in lower case but my expansions begin with caps, my entered strings would get pushed the end by the sort (which is case sensitive).  This meant that continued tabs would rotate my completion all the way back to the uncompleted string.  Is this possibly a useful feature?