Fixing bug in Identify Sample that caused a crash if 'fill holes' was selected