Fix bug, where not-closed symbol pair in selection wasn't taken into account for expand_to_symbol, close #25