Two Master Details on Form, one drops # from parameter

I have a form with two detail grids. One of the grids gets the parameter correctly and the other drops the # symbol. I get the same result when I set up both details the same (same grid, same parameter, etc).

In my form I am passing ‘SOMETEXT/MORE#’ and one detail debug SQL shows where code=‘SOMETEXT/MORE#’ and the other as code=‘SOMETEXT/MORE’. Am I missing something or is it a possible bug?

More info. Just ran a test passing a parameter as ‘#SOMETEXT" and one detail ended up with "#SOMETEXT’ and the other was blank ‘’.

And passing ‘TEST#ONE’ give ‘TEST#ONE’ and ‘TEST’. So it dropping off after the #.