Restores dynamic user filter in REST API that was broken before