Possible bug in auto-nav block in a stack 5.5.2

Permalink
Put a auto-nav with regular config in a stack, then render the stack in your theme twice like so:
<?php
$stack = Stack::getByName('stack-with-nav');
$stack->display();
?>
the second time the auto nav block displays all the pages double.