Fix soft-lock bypass vulnerability.