Fixing bug where you could select a negative timeout