check if is first version and enddate in future