FIx bug with redirect in example application.