Overstable rotating convection in the presence of a vertical magnetic field