Fixed crash when using Allowed/Denied Viewers, and the viewer's name is shorter than one of the test strings

This fixes http://opensimulator.org/mantis/view.php?id=7294