Quick fix to parents undefined in encrypted