Fixes bug 838897 - Fixed the vesions filter in search with elasticsearch.