Improves function == check