Using parseInt to force number when getting new ID for question, option and result. Improved condition in getNewQuestionID for when model.get('questions') returns empty array.