Finally fixed pesky bug with selectpicker.