Bugfix again. Ruby conditionals are different than python