fix blank gender bug by adding allow_nil: true to gender validation