Fixed options validation on options reset in IDE. Fixes issue 1050

Signed-off-by: Alexei Barantsev <barancev@gmail.com>