Call compact on translations.keys to fix calling to_sym on nil

This should fix #10