Fixed bug with hash values, where it would recursively call the event.