Dev fix search when no record in db