Proper handling of reverse complements

Fixes #202