Added an initial opitmization to avoid invoking the server for preferred parents and spouses in the case where there is only one choice anyway.