Fixed missing namespace check.