Minor bugfixes to ensure input/output IDs are properly published