fixed sqlite bug where sqlite-aref was called with incorrect args (thanks Zach)