fixed duplicate ST_REFLEX handling