Merged unused search service method
Fixed links in related tags view
Simplified a few method calls in model layer
Fixed misleading isFalse and isTrue in Assert
Fixed detached files discovery

Searching for detached files used PostSearchService, which by default
hides all hidden posts unless user explicitly asks to search for them.
That way, all hidden posts were treated as detached, so their content
was being removed when using the script in question.