Fix issue #13

The use of 'lesser or equal' was incorrect and provoked some kind of
off-by-one in write-denying checks. This fixes the issue by changing
'lesser or equal' into 'less than' in two places (places found by the
log given by @superbonaci on issue #13).