fixed off by one error in #setQuestionMetadata()