Fixed ShouldSendMailValidator not to send mail in case there's a dependency and the master is also flagged for sending mail