--- nodequeue.module	2009-05-01 01:26:37.000000000 +0100
+++ nodequeue_patched.module	2009-05-04 20:01:36.000000000 +0100
@@ -2544,15 +2544,14 @@ function nodequeue_load_nodes($sqid, $ba
  * Load the first node of a queue
  */
 function nodequeue_load_front($sqid) {
-  $nodes = nodequeue_load_nodes($sqid, FALSE, 0, 1);
-  return $nodes;
+  return array_shift(nodequeue_load_nodes($sqid, FALSE, 0, 1));
 }
 
 /**
  * Load the last node of a queue
  */
 function nodequeue_load_back($sqid, $teaser = TRUE, $links = TRUE) {
-  return nodequeue_load_nodes($sqid, TRUE, 0, 1);
+  return array_shift(nodequeue_load_nodes($sqid, TRUE, 0, 1));
 }
 
 /**
@@ -2560,7 +2559,7 @@ function nodequeue_load_back($sqid, $tea
  */
 function nodequeue_view_random_node($sqid, $teaser = TRUE, $links = TRUE) {
   $count = db_result(db_query(db_rewrite_sql("SELECT COUNT(n.nid) FROM {node} n INNER JOIN {nodequeue_nodes} nn ON n.nid = nn.nid WHERE nn.sqid = %d AND n.status = 1"), $sqid));
-  return nodequeue_view_nodes($sqid, FALSE, $teaser, $links, rand(0, $count - 1), 1);
+  return array_shift(nodequeue_view_nodes($sqid, FALSE, $teaser, $links, rand(0, $count - 1), 1));
 }
 
 /**
