Fix "matching bracket" bug that occurs when matching at beginning of file.