Fixed problem with medium type being incorrectly set to electronic_resource.