Fix resource search for workspace manager