Do not take date in the future when creating report