Added information to an error message

Added information to an error message saying that the error can occur when the discipline, which is being replaced, was already approved.
close #455