OSPF and blackhole routes

Is there any way to stop OSPF redistributing blackhole routes but still redistributing static routes?

routing filters