Fixed issue that prevented EDT code to correctly queue other EDT code