Fixed bug causing multiple copies of cells in tableview