[FIX] web: avoid trying to access to deleted record message when change password

The onchange call can be made with empty ids list (which would fail). opw 610810