Filter to remove Contact Form 7 Query Strings from URL on submit or redirect. Goes in functions file.
add_filter('wpcf7_form_action_url', 'remove_unit_tag');
function remove_unit_tag($url){
$remove_unit_tag = explode('#',$url);
$new_url = $remove_unit_tag[0];
return $new_url;
}