Fixed reader bug when reading an empty compound term