Fixed weird bug where it would try to complete after a closed parentheses.
Side effect was a problem with automatched closing braces if you did a statement like:
    if ($this->thing) {