Fix showing replace otpion only when submission count iz zero