I would argue that dereferencing the map(using the [] syntax) causes an inner as per JPA spec 4.4.4 quote
Path expression navigability is composed using “inner join” semantics. That is, if the value of a non-terminal
field in the path expression is null, the path is considered to have no value, and does not participate
in the determination of the result.