assume 0 if bytes is None in format_bytes filter