Temporary fix for mongoose bug

mongoose does not support Query.remove(condition,done) as noted in its
documentation. This is a temporary fix.