Fixed an issue with the quality option.