Fix time related bug in Terms & Compositions.