Fix first-child implementation.