Indeed a rather special bug. Test for it has been added and fixed for upcoming.
Mind you though it will not work on newly created nodes which get initialized by the hot swap mechanism. It will however work for nodes which initialize when the containg patch gets initialized (default case).