Welcome to English Forums, pandy. Thanks for joining us! [<:o)] The problem with the second one is that you have set off the relative clause, relieving it of its "restrictive" status.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.