Search now working. Need to validate tag attributes to prevent errors.