Fix create quiz bug. Closes #272.