refs #7

This is untested on my end, as I'm too lazy to test on a 2.6 setup. @thebigspoon can you verify this fixes the problem?