Fix NPE when trying to load conditions or actions by tag