OP, what do you use for lube? a generous layer of a lube that stays(motor oil for example) allows most of the gunk to be wiped off. I just wipe, and hose out with gun scrubber and its clean except for a couple areas(bolt tail, ledge inside of carrier and barrel extension). I have no clue about your problem other than the detent may have been stuck.

