By-elections confirmed for mid-July