Fixed bug in rowForIndexPath

Thanks to Benjamin Herzog ;-)