diff --git a/votingapi.module b/votingapi.module
index 6585792..43db3a9 100644
--- a/votingapi.module
+++ b/votingapi.module
@@ -373,7 +373,8 @@ function votingapi_select_votes($criteria = array(), $limit = 0) {
 function votingapi_select_results($criteria = array(), $limit = 0) {
   $query = db_select('votingapi_cache')->fields('votingapi_cache');
   foreach ($criteria as $key => $value) {
-    $query->condition($key, $value, is_array($value) ? 'IN' : '=');
+    $operator = ($key == 'timestamp') ? '>' : NULL;
+    $query->condition($key, $value, $operator);
   }
   if (!empty($limit)) {
     $query->range(0, $limit);
