Fixed confusion between NULL and None