fix match against error messages in the Devise locale file