Fix monitoring when no parent is provided.