[lm] Alarm scripts page was deleting scripts when submitting any second script