Row level security function is not working in Looker charts

Whenever the row level security function is added in the charts. Dashboard gets crashed after the refresh or tab changes. Attribute is automatically missing in the filter on chart properties option. Unable to figure out the issue