Fix app crash when QBImagePickerController and select all photos

Fixes #1