Maximal cliques bug

This is #65 with a test-case demonstrating that the bug is fixed.