Fix wrong type, db rollback on false unlink