> create index foo on group_data(this_group_id) where group_id is null;
Try this instead;
create index foo on group_data(this_group_id) where nullvalue(group_id);
And
Select * from group_data where this_group_id = 46 and nullvalue(group_id);
... John