fix sql error
Merge branch 'master' into RELEASE_20130723
Merge branch 'RELEASE_20130723' of github.com:berkmancenter/mediacloud into RELEASE_20130723