Fixes bug 888792 - Ensured backwards compatibility for plugin_type and hang_type in search.