fix warnings when no rates were submitted, resulting in an unset index rather than an empty array