Lawmakers advance limits on nonprofit bail groups