Fixed issue with google chart throwing error