Fix db case sensitivity limitations