Fixed hash calculation for empty namespace, if it is empty array.