Group Access not working for Custom modules


I have created custom module using module builder. and published. It is showing in menu.

And I have created role. For list / view I have provided group access. Then I have created security group and assigned that group to the user and some of the records in cusotm moduel.

and done quick repair and rebuild.

When I login as one of the user and check for the list view. I am getting no records found instead of records from the gorup.

But in role if i change the access for list / view from group to all. I can see all the data in the same user login…

Any suggestion to list the group data in the custom module for the user having group access?