Add the criteria:



AND [specific attribute], Attribute Import ID is not blank
If the issue still occurs, refer to How to troubleshoot incorrect query results.