diff --git a/web/zm_html_view_filter.php b/web/zm_html_view_filter.php
index 17da0057f..347212bb7 100644
--- a/web/zm_html_view_filter.php
+++ b/web/zm_html_view_filter.php
@@ -31,7 +31,7 @@ if ( !$result )
while ( $row = mysql_fetch_assoc( $result ) )
{
$filter_names[$row['Name']] = $row['Name'];
- if ( isset($reload) && isset($filter_name) && $filter_name == $row['Name'] )
+ if ( !empty($reload) && isset($filter_name) && $filter_name == $row['Name'] )
{
$filter_data = $row;
}