Fix bug - empty flag/sample/switch lists were causing db hits on every call to get_all_*
Upping version to 0.8.1.6