I am using the following code to output information about the items selected in a Relationship field. This code works perfectly in selecting the items on the right side of the Relationship control, as long as at least 1 item was selected. If no items were selected (no results), the code returns all the input to the control (every value on the left). That seems like unexpected behavior, to me. Does anyone know how to test to make sure there is at least one item selected (1 result) from a relationship control?