Made namespace checks case insensitive (feedback from @laurence (Xinchen Hui)).