Incoporate @mitchlloyd's comment about date comparisons