If you want to add the pushSmsCategory != null check in the original condition, it also needs to be in this else condition.  I'm fine with either removing the former or adding the latter.