Fixing so samples not in table

do not cause error