Fixed bug where named instances was case sensitive