More efficient SQL, don't double up.