Remove duplicate code (EMongoModel::filterRawAttributes)