Fixed bug with inmemory logic with schema name being dropped