Fixed bug where selectable function would break