Small issue with buffered-sql