Workaround

Added checking for empty model nodes.
Something can be wrong we neo4j. We
will return to this problem if it occurs
again