Fixed some plugin issues with options validation.