Don't crash if no relevant tags are found, see #324