This should be a pretty easy fix, have the tail end of the flange bent upright and attached with a U-bolt or drill out the hole in the flange large enough to go over the pedestal and attached a thumb screw for a lock to both sides.