[FIX] Yara: fixed assertion on DP errors