Fixed the loop bug

Fixed the loop bug
Merge pull request #145 from Rynoh/fixLoopBugOnSelectBoxFilter

Fixed the loop bug