Added validation check that aCategory and aAction are both set