bug #4552 Incorrect routines display for database due to case insensitive checks

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>