Date in Past Feature Not Working