Static route throws 404 when parameter not found