Update slot.hpp

Fixed comparison operators