Sortable: fix isValidTarget element check