Fixed issue creating array from byte/short data.