Added ability to get history by quiz id and both id's.