Don't call API for nil ids