Minor fixes
Media library and generic search