Prevent endless redirect rules