Fix NPE when editing actions with conditions.

Change-Id: Ib230b9b02046da07f5515189513189d0e09b4dfd
Fixes-Issue: CLIENT-436
Reviewed-on: http://gerrit.dmdirc.com/3148
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>