Make less-than operator work for all types. Fixes #1