Fixed handling of not available values in the stack.