Remove intermediate variable.
Remove optional then keyword.
Simplify assignment logic.
Remove more optional `then` keyword.
Simplify result[:votes] logic.
Move user variable to where it's used.