Fix for ghost nodes