Fixes setting locale before deleting sites