fixed css tags template listing, fixed deleted tag showing up in query