Fix non fetchable query in MySQL model (converted to list)