Term: broken clock effect
Example: it is only the broken clock effect keeping him out of the unemployment line
Definition: it means that even a complete idiot can get something right, if only by accident