fixing a bug in model create()

if you passed in invalid columns this would cause a broken query to be
generated and pdoexception to be thrown