Fixed invitation deletion