Fix a bug whereby, if there was only one <service> entry for the