Fix for greater than