Deleting useless records from the db when seed is used