Fixed up the ordering on some conditions in IncrementalResult tests. Moved inner class in IncrementalResult to be in the place we decided on style wise. Changed error on duplicate results -> silently take first result only instead. Fixed some asthetic typos.