Fixed errors for tag searches