Core: fixed checkAttribute[s] for VOs

- now the checking of an attribute for VO runs only when the attribute is not null
  or is truly required (Task #1527)