Fixed comparison in slot and block field types

Signed-off-by: Tom Wright <tom@inflatablecookie.com>