Off-by-one error on advanced search end date

When using Advanced Search to search for Sales Invoices dated from 01/04/2018 to 31/03/2019, the search results include invoices dated 01/04/2019. If the range is modified to search for 01/04/2018 to 30/03/2019 then the search results no-longer include invoices dated 01/04/2019.