get_lower_upper_smart function

Turn default/special upper and lower arguments to vectors