Fixes nocasing issue on postgres
Fixes nocase in memory adapter