Fixed .reverse-stack to be nest-level-independent