Fix TPA map hash calculation. (#288)