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