Crashing on Cursor out of bounds in getArmorType()