Fixed not defined output because of not existing days (Saturday and Sunday)