Fix a bug introduced with Sequel support

Signed-off-by: David Celis <me@davidcel.is>