FIX DBSCAN input validation