diff --git resources/comment_resource.inc resources/comment_resource.inc
index dc61c2a..a4b1d6a 100644
--- resources/comment_resource.inc
+++ resources/comment_resource.inc
@@ -353,7 +353,7 @@ function _comment_resource_count_new($nid, $since = 0) {
  */
 function _comment_resource_access($op = 'view', $args = array()) {
   // Adds backwards compatability with regression fixed in #1083242
-  if (isset($args[0]['comment']) || isset($args[0]['data'])) {
+  if (key_exists('comment', $args[0]) || key_exists('data', $args[0])) {
     $args[0] = $args[0]['comment'] ? $args[0]['comment'] : $args[0]['data'];
   }
 
diff --git resources/file_resource.inc resources/file_resource.inc
index 0a0c784..f3cf1d7 100644
--- resources/file_resource.inc
+++ resources/file_resource.inc
@@ -320,7 +320,7 @@ function _file_resource_delete($fid) {
  */
 function _file_resource_access($op = 'view', $args = array()) {
   // Adds backwards compatability with regression fixed in #1083242
-  if (isset($args[0]['file']) && count($args[0]) == 1) {
+  if (key_exists('file', $args[0]) && count($args[0]) == 1) {
     $args[0] = $args[0]['file'];
   }
 
diff --git resources/node_resource.inc resources/node_resource.inc
index 6d0ba8f..dfb4d70 100644
--- resources/node_resource.inc
+++ resources/node_resource.inc
@@ -436,7 +436,7 @@ function _node_resource_load_node_files($nid, $include_file_contents) {
  */
 function _node_resource_access($op = 'view', $args = array()) {
   // Adds backwards compatability with regression fixed in #1083242
-  if (isset($args[0]['node'])) {
+  if (key_exists('node', $args[0])) {
     $args[0] = $args[0]['node'];
   }
 
diff --git resources/user_resource.inc resources/user_resource.inc
index 5a497fc..e7a9b0d 100644
--- resources/user_resource.inc
+++ resources/user_resource.inc
@@ -436,7 +436,7 @@ function _user_resource_index($page, $fields, $parameters) {
  */
 function _user_resource_access($op = 'view', $args = array()) {
   // Adds backwards compatability with regression fixed in #1083242
-  if (isset($args[0]['account']) || isset($args[0]['data'])) {
+  if (key_exists('account', $args[0]) || key_exists('data', $args[0])) {
     $args[0] = $args[0]['account'] ? $args[0]['account'] : $args[0]['data'];
   }
 
