The spelling of these two words is so similar that I started wondering if there’s any good reason for that. When I compare their English equivalents I see no connection. This might take a while to figure out.
slechts – only, merely, just
slecht – bad, poor