Added necessary null pointer check to static initializer of Tags class