Fix leftover if()

Hi Jim,

can you have a look at this? The first `if( bytes > 0 )` does not look intentional.

Thanks!