Tags are not being found with string concatenation