Update Worker.scala

Changed updateTablesAsPerNew to check if element already in leafset.