- fix for getting table in DbQuery
- fix for validating field when value = 0
- set active link class