I added a check for an empty list of ids to the server code for (p)pmc updates.
I have since found that it is possible to trigger this. However the result is that the user gets a server failure message, which is not very helpful. It would be better to return an error to the user, but it's not clear how to do this.