Fixed many bugs with accepted/confirmed.