Added an extra check for the length of the WebID when setting ACLs.