You should not be using multiple page onReady() functions, it might result in unpredictable results. Put all of your onReady code into one onReady() function in the order that you want it to run when the page loads.
When you select a tag on the page, you are creating a new filter which overrides the previous filter. You need to add the tag to the previous filter so that you get the desired results.