Correctly set the model in getSelected rows, fixes #80