Cleaned up definition of tardiness.