* Fixed dumb mistake in lock condition.