Fixed bugs with hiding questions. Previously, rate.js could not handle the situation where the last question might be hidden and, therefore, could not redirect to confirmation page. Additionally, it could not handle the situation where, out of three questions, the second question may be hidden. It would display a mismatched rating value for the question because the rating value array and the question arrays are not combined. Resolved by changing the query in getRatings.php to only fetch rating values for questions that are not hidden.