Correct handling of state parameter in FB backend.