GTNPORTAL-3067: Wrong actions after sorting redirects or conditions