Update vote bug fix

Fix the bug that prevents the module to update the vote when an user clic.k a specific requirement.

Co-authors:
Ryan Killea <rbkillea@wpi.edu>
Long Nguyen Duc Hoang <lhnguyenduc@wpi.edu>