Added better corrupt sign handling.