diff --git a/votingapi.module b/votingapi.module
index 6585792..6656ab9 100644
--- a/votingapi.module
+++ b/votingapi.module
@@ -208,7 +208,13 @@ function votingapi_votingapi_storage_delete_votes($votes, $vids) {
 function votingapi_votingapi_storage_select_votes($criteria, $limit) {
   $query = db_select('votingapi_vote')->fields('votingapi_vote');
   foreach ($criteria as $key => $value) {
-    $query->condition($key, $value, is_array($value) ? 'IN' : '=');
+    if ($key != 'timestamp') {
+      $op = is_array($value) ? 'IN' : '=';
+    }
+    else {
+      $op = '>=';
+    }
+    $query->condition($key, $value, $op);
   }
   if (!empty($limit)) {
     $query->range(0, $limit);
