Only include active posts in the sub select