bugfix with sqlite in expenses report