Avoid exception when no indices specified for nth-child selectors