Fixed bug in populate.sql