LPS-49319 Fix use of Assert