Here's a patch fixing this. It's definitely just a bug in the implementation of completion-pcm--merge-completions - see my commit message for details.