validate delete election