But it's still not a flaw in science that people misuse it. You might as well say that "a historical flaw of rocks is that people misuse them." Yes, rocks can be thrown at heads or through windows, but this doesn't make rocks less awesome in themselves. Rocks are cool. People using a tool badly is not a problem with the tool.
And actually, I'd apply the same argument to religion. Religion has many useful features in itself, ranging from encouraging compliance with moral strictures for people with weak internal motivations to fostering a sense of community to creating a support network for a community with individuals in need. Dismissing all religion because the concepts have been misused or abused in the past would be just as much an error as saying that science is a flawed tool because people have used it in flawed ways in the past.