currentOp query correction for m201 chapter3 :building Indexes

The hand outs has the below query which will not return any data
use m201
db.currentOp(
{
$or: [
{ op: “command”, “query.createIndexes”: { $exists: true } },
{ op: “insert”, ns: /.system.indexes\b/ }
]
}
)

I have to change it to

use m201
db.currentOp(
{
$or: [
{ op: “command”, “command.createIndexes”: { $exists: true } },
{ op: “insert”, ns: /.system.indexes\b/ }
]
}
)

The createIndexes in under command .

may be it is a version thing

@ pranayraavi

Both of those commands work just fine, and should return the same result.