minor fix

Found when socket interfacer passed node id as a string it would pass
the float test but fail the division by one to test if an int.  added a
cast if float test passes