Fixed Engine query methods (getBonesByClass and getBonesByType). Also, fixed generic getBonesBy method to make it reusable.