Fix#3 empty array in DatabaseStatements to_sql method