Use new bravery formula.

(cherry picked from commit 7d933694d689eaa4df57e5cf8aaa86dff0e2955c)
Fix FluxBB migration.

(cherry picked from commit bd9d8ff18d2a4c296d7f60fd12ba0a732862a6a9)