Results logic fixed