EZP-22465: fixed failed assertion message