Revert "Removed debri from the condition"

This reverts commit c4970fe2ad142afb4cadc371a40c282a54538827.