ADD PERIOD FOR SYSTEM_TIME failed because table '%1!s!' contains records where end of period is not equal to MAX datetime. ...