Fix crash with older JB devices.