Update code to determine if there is more than one result