Fixed semester merging exception-throwing error