🐛 Fixed some issues with uptime monitoring where it would not mar...

🐛 Fixed some issues with uptime monitoring where it would not mark a site back up and running even though it was. Also improved the logic of correctly setting states of up or down and doing the right thing (huh?).