Bugfix for permuted pol indices in amp.py.