Follow-up to commit 47fa98b to fix afterNodeCreate hooks.