Ensuring indicator plots are valid before programmatically accessing them