Fix for empty tree assignment array