Guard against data in ajaxError's settings not being an array/string for...

... slicing