Fixed sql error in getSets() when passing new "name" option