Fix bug, check syntax isinstance on inbox container model class