Fixed typos in comments and debug logs, renamed "check_old" variable to "delete_old", added NOT_FOUND check while deleting