Fixed bug with the higher taxa inheritance and some other small things