Empty Active devices chart after updating "application_id" field directly in PostgreSQL

In order to move some devices between applications, after updating application_id field in the PostgreSQL database, Active devices chart in Chirpstack UI shows no data.
We’re receiving data frames as usually. Any suggestion?