catch exceptions when setting search_{from,to}_rate