Fixes error with logging admin rank changes to the user's database record

I forgot to add a field to the query in commit 138567b7cfad8b88b56f3ae550185ec75879664a when I modified it.