Avoid asploding if session.order is None