Handle race condition in identifying transition events