Documents having isTrashed=false and state=deleted are detected as trashed by WebUI, this shouldn't be the case. As long as the new property isTrashed is present, WebUI shouldn't read the former lifecycle state.
Json of such a document:
NXP-25761 should fix such cases after a migration, but having a document in deleted state and trashed state is still possible.
Moreover, another issue is that when browsing a trashed folder, you cannot see its content.