Merge "Fixed Task#getVisibility to take into account task hierarchy" into rvc-dev