Fix sql error which is generated automatically by Krile when multiple users are available.

close #29