Going from quick search to advanced search sometimes replaces terms by "undefined"

Steps:

  1. Write terms in the quick search input
  2. Click the advanced search icon
  3. Terms are replaced by “undefined”

It’s reproductible, but sometimes it doesn’t happen and I don’t know what triggers the bug exactly.
I had instances where the terms were replaced with an empty string, and, perhaps once (not 100% sure), replaced by a previously searched term.