fixed mongo query by tag