Improve recents logic

Signed-off-by: dragon <dragon7780@hotmail.nl>