Fixed getCharID to prefer current characters over biomassed characters