Fix inverted slice

Signed-off-by: Hector Acosta <hector.acosta@gmail.com>