Updated the clear method of MapEvent

The byteStoreSize wasn't being updated correctly.  attributeName.length() + 1 also needs to be
subtracted.