null check, not size check

Signed-off-by: Eric Friesen <efriesen@gmail.com>