Bug 1065243: fixing invalid mongo query attribute