Improve filters for stable/unstable/oldstable tags
We should use proper filters instead of simply getting the first element in the array.
Additionally, for unstable tags we should conditionally show the whole block, in case we haven't branched yet.