FLWOR query shows inactive results

Description

Here's the query and the output where some concepts show up which are either inactive or have inactive membership.
Two example concepts are None/Not available and No preferred name.

Changesets are here https://www.dropbox.com/s/jj4sgf7zh1up2f2/changesets_inactive_member_show_up.zip?dl=0

Environment

None

Assignee

Saif Baig

Reporter

Saif Baig

Labels

None

Priority

Blocker
Configure