fixed invalid TRI_BITS check
Merge branch '1.3' of https://github.com/triAGENS/ArangoDB into 1.3