Structure wasn't passed properly for removing of file in the index
Should take care of order by expressions for some db's