Planning policies that brought flood misery