Merge pull request #197 from Oletus/patch-1

Fix off-by-one in baseViewIndex + numViews check