Fix allowmultiple properly.