Optimise complete_fusion_ways: don't use IN
Optimise clean_way: don't ever use DELETE with IN
Merge pull request #317 from bliksemlabs/sql_optimize2

SQL optimizations