Merge pull request #1032 from GawainLynch/hotfix/RateIt

[RateIt] copy/paste blunder
Closing element in wrong variable position