Commented counters for now to stop exceptions, fixed previous date assignment to resolve lower bounded comparisons.