Previously the bug that I mentioned here `https://github.com/aditya-K2/gomp/blob/f7c22833553e99634e032bd389eae6cf1311fd1c/utils/utils.go#L147` was caused due to the replication of matched Indexes. Hence using the utils.Unique function to only get the unique elements in the slice.