Fix sublist implementations of take and skip.