Fixed a bug that threw undefined index errors for dataType option.