Itseez/opencv — pull request #942 by achalddave (2013-06-01 00:34:49+00:00)
Title: Don't compare rejected stage index with minimum required neighbors

As described [here](http://code.opencv.org/issues/3064), the test before led to a case where we compared the index of the latest stage at which a rectangle was rejected with the minimum number of neighbors required as specified in `detectMultiScale`. Please see the issue for more information.