Edited submissions duplicated in database