Fix sortable behaviour