Just in case anyone else comes across this thread with the same problem, I found a workaround.
Add the following at the top of the index.php file (replacing the link with your own 404 page) and it redirects any threads with variables.
PHP Code:
<?php
# Using QUERY_STRING
$queryString = $_SERVER['QUERY_STRING'];
if ($queryString != null) {
header("Location: http://www.yoursite.net/404.htm");
}
?>