Fixes AttributeError on deck_stack.