PerformScan: Flip condition to avoid continue in pruneNullExposes()

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: If4789a0edd76c614e618dfd317a558ad6f17f097
diff --git a/src/PerformScan.cpp b/src/PerformScan.cpp
index a9c32a6..7ff1198 100644
--- a/src/PerformScan.cpp
+++ b/src/PerformScan.cpp
@@ -255,11 +255,10 @@
     auto copy = nlohmann::json::array();
     for (auto& expose : *findExposes)
     {
-        if (expose.is_null())
+        if (!expose.is_null())
         {
-            continue;
+            copy.emplace_back(expose);
         }
-        copy.emplace_back(expose);
     }
     *findExposes = copy;
 }