Fixed bug where due date line would overflow for longer dates