Fixed API call where null was being passed in as the wrong parameter.