Update SDDB.cpp

Hi Cyrus!

This is Adrian Cunningham - I am submitting the code change request with the changed code in sddb.cpp - thanks again for spending time with me yesterday to fix this issue. I appreciate all of your effort to make this program great and usable, and I can't wait to get started on some modifications for it! 

Hopefully I will see you tomorrow at Psychonomics!

Best,

Adrian