VID-1883 Check if category assigned before using search
VID-1883 Don't do unnecessary checks
VID-1833 Protect your public methods
Merge pull request #4346 from Wikia/VID-1883

VID-1883 Check if category assigned before using search