Add superfluous check for Mutex and Condition.

Fixed issue 17.