Fixed bug in sample node typing.