btr: Fix a nasty thinko in merge_input_pool().