Fixing bug in less operator