* Update cahced _stacked value after updating stacks * Add test --------- Co-authored-by: Jacco van den Berg <jacco@jem-id.nl>