Bug fix: merge function overwrites 0 values

This caused a problem when I was trying to specify retries: 0. The default value (2) overwrote my value.