[Expression] Don't unregister function if not registering