Yeah, the masculine ending is the grammatically correct form for when the gender of someone is unknown or the group has a mix of genders.
Temporarily Deleted