Fixing bug where ngIf adds children repeatedly if condition goes from true -> true