Cache causing bugs in charts