Revert "Introduced filter for realms"

This reverts commit b4fe5cc5c0d37b986c82a84237a00123135bb936.