Fix callback for async.detect

Signed-off-by: Ian Macalinao <me@ian.pw>