Why would that be a bug?
[0],[1], etc are rows from the database and each row has fields which in your case is only one (username)
So if you take it logically it's absolutely normal to get an array of arrays.
An array representing the rows with each having an array representing the columns.