Fix possibility to pass single value to optimizer instead of lists or tuples as ranges