added support for multiple tag searches at a time