Update to main.rb (fav -> del)

Modified and tightened del case in favs method.