Fix SingleNode container started event

- Check if the context is not management context instead of checking if the context id is
container id as single node application will have a different id