You can fix this by adjusting the Hide Post Sensitivity site setting. Set it to a suitable level such as Medium or High — this will automatically update the internal score_to_hide_post value back to a healthy threshold.
Just note that the lower the sensitivity, the less flag score is required to hide a post — which is why posts were getting hidden immediately.