Add nodes limiting query