Fix for expanding/collapsing date groups when the adapter is not set