Dumfries and Galloway Council was criticised for the time taken at the general election in 2024.