corrected spelling for Invalid Date, this will allow the condition to work properly