Program is now checking for date duplication