Search and glossary display bugs squashed

Search now works, before it was not.