Fixing an edge case bug for RLI