Fixed an exception while analysing.