Magnetohydrodynamic stability studies of supershot plasmas