Handle invalid URIs

There is some data that is causing the /status page to 500

This should also log the bad data to airbrake so we can see what it is.