The detection system does work, but it's not instantaneous. In this case, it seems that a bunch of you noticed the same poorly formatted code as soon as the question was posted, and all jumped on the easy cleanup edit. Adding four spaces is probably so natural to you all that you all submitted your edits and clobbered each other before the poor detector had a chance to figure out what was going on and notify you.