Fixed bug in the TCP_IS_STATE macro. Fixed #150 (tested)