Fix setting schema `default` resolving on non-arrays.