Search results not filtered based on the labels param

Summary

There are some groups and projects where search is not filtering results based on the labels parameter.

Steps to reproduce

What is the current bug behavior?

There are some groups and projects where search is not filtering results based on the labels parameter.

What is the expected correct behavior?

There search results must be filtered based on the labels parameter.

Relevant logs and/or screenshots

Possible fixes

Edited by Siddharth Dungarwal