diff --git a/public/index.php b/public/index.php
index 9ca4d40..5f4d345 100644
--- a/public/index.php
+++ b/public/index.php
@@ -88,7 +88,7 @@ if (isset($_GET["backgroundcolor"]) && !empty($_GET["backgroundcolor"]) && preg_
'
' . htmlspecialchars($_GET['id']) . '
is not valid. Please try re-typing it.
',
getSearchBox()
]);
- } else if (empty($_GET["id"]) || (!Machine::exists($_GET["id"]) && !Machine::serialExists($_GET["id"]) && !Component::exists($_GET["id"]))) {
+ } else if (!empty($_GET["package"]) || empty($_GET["id"]) || (!Machine::exists($_GET["id"]) && !Machine::serialExists($_GET["id"]) && !Component::exists($_GET["id"]))) {
// try package tracking query
$trackingok = false;
if (!empty($_GET["id"]) && preg_match("/^[a-z0-9]{10,}$/", $_GET["id"])) {