Fix thinko in key-prefix lookup