Fixed loading bug introduced in 20a2b6
Merge pull request #18 from alendit/tpcc_load_fix

Fixed loading bug introduced in 20a2b6
Fixed query 10 of CHBench
Minor fixes for queries 4,5,7,8 and 22