Fix handling of req fields in create study command