Fix selector that would cause empty rows in Firefox