Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
Mostly just for safety, since I noticed this would pretty much fall over in this scenario until now.