Fixes SO issue when tags contain an empty string