If the Include Leavers checkbox is unticked, but the leavers are still showing:
Open the relevant query and click Edit.
Click Selected Areas, then check if the Leavers option is selected from the left section.
Untick any leaver-related areas in the right selection pane.
Re-save the query.