Handle negative denominators