Fixes badge transfers

Quick fix to let badge transfers actually work. Partially addresses #598.

The emails are still weird, though, and the history still isn't saved.