Fixed /updaterelay parameter not being able to get detected due to faulty if statements