#1437 K 3.0 Backend Prune function gives an SQL error