Optimized add user to bad list algorithm