Bug fix for checking animal owner