#290 Fixed layout related errors for when all nodes are removed via filters. There were a handful of causes. See the commit for details.