Pass ID correctly into relationship ajax object filtering