Only validate the analysis if the component was in a valid state.

Only notify the user about missing markers when we returning from the
analysis activity.