Fixes optical device cannot be detected intermittently and set MAX command issues.