Fix size NPE for null strings