fix pushed_by

pattern matching was relying on a tuple instead of using the #db{} record.