The most fundamental element of science is not today's body of understanding, but the process with which we arrived at that knowledge. A process that generally recognizes human fallibility and how easy it is for us to trick ourselves. So yes, a lot of the stuff we think we know today might be wrong, but the point of science is continuous refinement and trying to eliminate the biases you mentioned.
Applying the process of science to astrology causes the whole edifice to quickly crumble[1], that's why it can be dismissed out of hand. Not just because of what we think we know about the universe.
Skepticism, including skepticism about your skeptic reasoning, is the scientific ideal. Adherence to published literature is not.
Questioning popular scientific beliefs in no way implies that things like astrology gain credibility. It is not a simple two way spectrum of truth.
Most of what we think we know as individuals is actually just a set of beliefs (often never tested) to which we heuristically assign some probability of truth. When you really start to dig yourself, you often discover that scientists, like any humans, are not immune to religiosity. They believe some thing is possible, or that some other thing is not. Those beliefs tend to color how the research is done. It also seeps into the culture of a society that has learned to so overly rely on "what the science says", that what it remains silent about is mistaken as untruths. Research must start with a hunch, a belief. But beliefs are often consensual and if the consensus is strong, it can be very difficult for a competing theory to hint at a possible different direction, even with supporting evidence. Our history books are full of examples. We set out to study a misunderstood phenomenon, but because there is a strong consensual belief that it must have certain properties, we approach our explorations with those premises as established truths. When we get stuck, we have to wait for an entire generation to die off to reorient the research (as Max Planck remarked).
Having observed the above in my own diggings into certain topics that (luckily) have some scientific documented intersects, I'm now reeducating myself to have less of the conditioned response of taking my own beliefs (e.g. astrology is probably BS) too seriously, when evaluating people's intelligence if they believe the opposite.