I pushed a commit to cope with the missing value for user_agent: 4654f8b4f341a6c9f8cf4daafc7d618871c95e1b
It should make it work even without database schema update.
I am merging the PR, we can consider even backporting the PR, but should not make an upgrade in 5.0 or 5.1 stable series to require changing the database schema.