Fix tag contains query

This fixes the tag contains query so that it now matches
substrings of a tag in the tags array for a molecule.

Change-Id: Iccfa449c6a2bb86f7e330955dbff8d4e1ea001f7
Merge topic 'fix-tag-contains-query' into master

cdfc3b48 Fix tag contains query