diff --git a/context.module b/context.module
index 637ffd8..552a2d3 100644
--- a/context.module
+++ b/context.module
@@ -197,7 +197,7 @@ function context_load($name = NULL, $reset = FALSE) {
   static $altered;
   if (!isset($contexts) || $reset) {
     $contexts = $altered = array();
-    if (!$reset && $contexts = context_cache_get('context')) {
+    if (!$reset && ($contexts = context_cache_get('context')) !== NULL) {
       // Nothing here.
     }
     else {
@@ -311,7 +311,7 @@ function context_cache_get($key, $reset = FALSE) {
     $cache = cache_get('context', 'cache');
     $cache = $cache ? $cache->data : array();
   }
-  return !empty($cache[$key]) ? $cache[$key] : FALSE;
+  return isset($cache[$key]) ? $cache[$key] : NULL;
 }
 
 /**
@@ -386,7 +386,8 @@ function context_active_contexts() {
 function context_condition_map($reset = FALSE) {
   static $condition_map;
   if (!isset($condition_map) || $reset) {
-    if (!$reset && $cache = context_cache_get('condition_map')) {
+    $condition_map = array();
+    if (!$reset && ($cache = context_cache_get('condition_map')) !== NULL) {
       $condition_map = $cache;
     }
     else {
