Agriculture misses out on growing optimism over commodity prices