Fix error condition button disabled bug.