In the switch table the datapathId is stored in hex format as a string. Change this to long to be consistent