Fixed #22514 -- Prevented indexes on virtual fields [postgres].