Existing appointment when creating new client

When a client is loaded, ParaPlan searches for all the appointments that match the Client ID of the client being loaded.

Every now and then we get a situation where an appointment partially saves and it ends up with a Client ID of 0.

When a new client is created, it has an ID of 0 until it is saved.

Thus when a new client is created, it shows that phantom appointment.

These appointments get cleared out automatically every time there is an update with a database update.