Fixing null interval issue.