Fixing a bug where inv_add from GMCP would send along an int as a signal argument, instead of an object.