Fixing bug where ngIf adds children repeatedly if condition goes from tr...

Fix for bug described in #4893