bug fix: will not process search by name if no input is made