[DF-659] Changed if to DVASSERT.