Attempt to fix bug with mismatched proxy lengths

Searching for the first pattern may have been failing due to the cursor
not being in column 0.