Fixes ajax search pattern and tags/notes lists.