refix ZSS-576: Support Excel "Protect Sheet" allowed actions

should check book and sheet if is null first