MaxSizeChecker null check added