instance filtering by state (TheWeatherCompany/grid-api#509 and TheWeatherCompany/grid-api#632)