Fixes for quality based price.