Marce,
Below you will find a link to a KB that explains strictly/weakly typed refnums in a way that is applicable to your situation. In the case of the refnum comparison, the X case defines which instance of the polymorphic VI is used. A strictly typed refnum can be connected to a weakly typed terminal, but not vice versa, so this explains the behavior you are seeing. Hope this helps clarify!
http://digital.ni.com/public.nsf/websearch/B78B0959B7CD6EB1862569370068ECBE?OpenDocument
Regards,
E. Sulzer
Applications Engineer
National Instruments