The solution is way more simple.
Go to System Preferences.
General.
Recent items: choose between none to 50.