Fix emptySites param in sites REST API