AnyMoCap+Xsens - Error in Euler angle discontinuity filtering

For anyone still following this thread, please see solution to this bug:

and more specifically how to update your old models.