fixed bug with multiple tags with same name getting filtered out