Ensure activity records are deleted with users.

TODO: Change 'actor' to 'userId'. Pretty sure that naming inconsistency
is what caused the problem in the first place. Unfortunately, this
requires a database update.