Added case insensitive query for license paltes