Noted null check bug and fix in README