
Although the adapter tries to keep in sync with the app status update manager, there may be times when this is not successful. In such circumstances, it seems safe to just guard against invalid situations, rather than trying to assert an error or fall over. Fixes #922.