Small fix to avoid ajax hangups after nonexistent element update.