DBParser: check dice sanity

Closes #4 and #7.