Bug fix db.remove(…)

Remove was reading in the wrong argument from the AS layer. Fixed.