check for NULL parent before calling agent's parent's DecomNotify

fixes segfault.