Fixed maintenance redirect conditions.