Fix array injection if there is only one service in container defined