Fixed loading of tableview on start up.