Added a conditional expression to bytes to make sure we have more than 0.