Extensions: encryption_manager sql fix