fix Connection::fetchAssociated crash when select is null