Add search for a range and fix typo