Table display fix

Clear tables if no data is selected