Adding transition check between active and target states