Fix AttributeError if session doesn't have a proposal