Fixing compatibility issue with Android 4.2 where database would have a closed cursor
Merge remote-tracking branch 'origin/master'