Fix stylesheet lookup to get correct sheet.