Well when you have something happening in a large pool of people (hundreds of thousands/millions) it's not likely that a trial would catch that, so the next protocol after trials is to follow through on any report of a potential side effect.
So yeah, it's working even if people have died with a direct cause of a vaccine.