Fixed the bug in RP filter type resolution.