Unable to filter items after document submission

After a Purchase or Sales Invoice is submitted, typing in the filter box does not filter the items table.

Steps to reproduce

  1. Create a new Purchase Invoice
  2. Add 2 different items
  3. Submit the invoice
  4. Open the invoice and type in the Item Search Filter to only list one of the items