Fixed comparing of sublists.