fix searches for tags with spaces