Move this testing for the "bytes" value down to where you are ready to deal with the effects on the column -- you could move the variable declaration and "column.setInbytes" into the conditional.