Sometimes on reload the comet attach happens before a detach