can len(search_term) ever be > 2? if so, this won't do what you think.