Swapped last-child to nth-child for clearing