These expressions are a little odd.  Why not `if ((copyRole == CopyRole.MASTER_COPY) && (work.getCopy(CopyRole.MASTER_COPY) != null))`, rather than the nested ifs?