Bug resolved while making the collection of all the resources 

Previously themes and topic objects were also included as to select the resources for making collection in collection drawer, Since its a bug. Topic should not contain a topic or theme. 

Theme & topic are not the resources , So filter applied to make the collection of only resources for that instance.

Resources list consists of : Pages, Files, images, videos, quizzes etc.