bug fix around invitation accept/deny sequences