Just when it looked like Craig McLeish's men were starting to turn a corner, they were undone by a late sucker-punch.
Beforehand, the manager praised his side for being tough to play against, even if they've not been performing particularly well, and that was something they did again in Motherwell, partly helped by how wasteful the hosts were.
In defence, St Mirren were solid. They made 21 tackles, won nine, and made nine interceptions.
Up the other end, though, they were wasteful, too, but didn't create as much.
They managed just one shot in the first half, four in the second, only one of those was on target. They're expected goals (xG) hardly even registered at 0.2 and they failed to create a single big chance.
While St Mirren will need to continue to be hard to beat, they will also need to work on making more happen at the other end.