TDBAdvGrid when empty I get exception

I tested this with the ADOSelection demo where I specified a filter to make the dataset empty but I could not reproduce a problem in this demo.
What are you doing different?