bugfix for a problem when ExpressionManager::allocateAlias() method was allocating duplicate/unnecessary aliases