Decorator redirects to home page rather than throwing 404 [MJ-527]