Added check for no loaded topic model