Fix flex report end_date issue

that affects BPA Invoice report