SCAL-355: changing the way chaining is implemented by MongoActiveRecord.