Fixed a mixed stem directions bug