Fix: search in tags

Fixed an error when no taxonomies exists for a contenttype.