V11 Staging Branch - Getting Error When Trying to save Patient Appointment

Testing erpnext Staging Branch V11, Healthcare Domain. Having problems saving Patient Appointment (Can’t save Patient Appointment)

pymysql.err.ProgrammingError: (1064, “You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘-1’ at line 2”)

Error started happening after i checked (If unchecked works fine)
Manage Appointment Invoice Automatically in the Healthcare Settings Menu

Installed Apps
ERPNext: v11.0.3-beta.4 () (staging)

Frappe Framework: v11.0.3-beta.2 () (staging)

Thanks in advance

Hello

After update,

**ERPNext: v11.0.3-beta.10 () (staging)

Frappe Framework: v11.0.3-beta.9 () (staging)**

No more errors, all is ok. I can save appointment now.

Thanks