Fixed a bug in the interval entity processing system.
Merge pull request #7 from Archytaus/interval-entity-fix

Fixed a bug in the interval entity processing system.