Fix deferred loading

Possibility to have deferred loading per page was impossible idea.

This PR contains small commit fix for ResourceController, adding better guarding there.