Fixed incorrect handling of arrays in default values