Fixed select_to_begofline so doesn't create duplicate selections