Fix isValid for Unix timestamp parser