piggy: made some changes to the tag filter