CLSN-2120 : fix quries : done for allocation & file scheduler