diff --git path_redirect.module path_redirect.module
index e1de33d..118b5aa 100644
--- path_redirect.module
+++ path_redirect.module
@@ -184,7 +184,7 @@ function path_redirect_goto($redirect = NULL) {
  */
 function path_redirect_cron() {
   // Purge inactive redirects from the database.
-  if ($purge = variable_get('path_redirect_purge_inactive', 0)) {
+  if (($purge = variable_get('path_redirect_purge_inactive', 0)) > 0) {
     $rids = db_query("SELECT rid FROM {path_redirect} WHERE last_used < :purge", array(':purge' => REQUEST_TIME - $purge))->fetchCol();
     if ($rids) {
       path_redirect_delete_multiple($rids);
