Fixed an issue with remove-nth-omega() not working correctly