JK: Added check to see if input string params are equal to the string "null"
in deleteEvent, as this seems to be what is being put into the JSONObject
instead of simply not entering the key-value pair.