Tiny DBI fix
I noticed while trying to figure out the somtimes problems with track
sorting which seemingly works purely by accident. DBI really should be
refactored at some point to be less fragile.