I added a print to see the value it returns and it is always EMPTY_VALUE although the chart shows it active.