Fixing HTTP 500 error on deleted events!