swap pending and received around (bug 888038)