Adding error handling to prevent mistakenly plotting DVHs with different dose bins.