For some reason it contained code that was doing some special checking for array and was returning null. Resolves #918