I had this problem when I replaced one event function with another for the same prefix. I deleted the function by deploying without any function for that event, then redeploying with that function. I guess I could have manually gone in the console and deleted the event...