Updating exception handling for embargo

It appears between Rails 3 and 4, the raised exception for #to_date
has changed.