Prevent crash on bug 6193557253652480

I initially sent this to the wrong branch, it should hopefully fix this bug, or at least prevent a crash:
http://ankidroid-triage.appspot.com/view_bug?bug_id=6193557253652480