Fix for revision labels. Fixes #25