Fixed subDirection change bug in EDL2.
Fixed EDL2 inclusion guard.