Fix missing return on verifyCanWrite change