Fixed sql modules parameters and default account fallback handling