Fix empty join parameters causing crash

I don't know what client decided it was a good idea to send blank joins, but here's this.