fix word bound in search (to make it work with tag names)