[#1749] Workaround for Firebird issue