WEBUI: Some fixes

Fixing setting speed limit of torrent in WEBUI when global speed limit
is not set.
@pmzqla any comment on this line, since you originally written this?