Group averaging, positive definiteness and superselection sectors