Remove --lastLocked modifier, use :last-of-type pseudo class instead