Index: programs/mythbackend/scheduler.cpp
===================================================================
--- programs/mythbackend/scheduler.cpp	(revision 17759)
+++ programs/mythbackend/scheduler.cpp	(working copy)
@@ -2448,7 +2448,14 @@
         gettimeofday(&dbstart, NULL);
         MSqlQuery result(dbConn);
         result.prepare(query);
-        result.bindValues(bindings);
+
+        MSqlBindings::const_iterator it;
+        for (it = bindings.begin(); it != bindings.end(); ++it)
+        {
+            if (query.contains(it.key()))
+                result.bindValue(it.key(), it.value());
+        }
+
         result.exec();
         gettimeofday(&dbend, NULL);
 
