Fix bug where link-to wouldn't be active even if resource is active
Merge pull request #3268 from teddyzeenny/link-to-active

Fix bug where link-to wouldn't be active even if resource is active