Works on replicate set mongodb well

Change to execute the query on primary nodes. Since Mongoid::Sessions.default.command is just executing on read_preference nodes.