diff --git a/mongo/mongo.go b/mongo/mongo.go
index af185b63d7ac73b916257beee8a6e13d82d993eb..a2313c4ffacd140281d3c0e22483428f64854bbd 100644
--- a/mongo/mongo.go
+++ b/mongo/mongo.go
@@ -58,7 +58,7 @@ func (c *MongoDataSourceCollection) marshal(where db.Cond) map[string]interface{
 		chunks := strings.Split(key, " ")
 
 		if len(chunks) >= 2 {
-			conds[chunks[0]] = map[string]interface{}{chunks[1]: val}
+			conds[chunks[0]] = map[string]interface{}{chunks[1]: toInternal(val)}
 		} else {
 			conds[key] = toInternal(val)
 		}