Fix getting names separated with comma or space