fix bug causing event images to not be deleted.  The code was supposed to store the hash of the monitor from the db into a hash indexed by id.  It instead set it to an empty hash.