fix bug in lxplus: <i8 not understood from sqlite
Merge remote-tracking branch 'riccardo/master' into mric