fix search logic of employee serial number