Bugfix: Checked wrong type and removed another wrong (?) check
Bugfix: Checked wrong type and removed another wrong (?) check

Can't remember why the second check is there.

lanthaler/HydraBundle,lanthaler/HydraBundle