Make avatar visibility tables working for arbitrary configurations.