Fixed a size check in the new code.