Fixed bug on entity click when current analysis is missing