A square root formulation of the Wheeler-DeWitt equation is used to quantize a minisuperspace model consisting of a Friedmann cosmology coupled to a charged scalar field. It is shown that this leads to a wavefunction of the universe with a conserved current and a positive-definite probability density.