Fix for #3003
Fix for #3003

Signed-off-by: Marcos Del Sol Vives <d80863d1d69c8a8310a6715c149a28d0d4f63874@gmail.com>

mkress/SMF2.1,mkress/SMF2.1,margarett/SMF2.1,MustafaCan/SMF2.1,georaldc/SMF2.1,StealthWombat/SMF2.1-more-forkery,georaldc/SMF2.1,mkress/SMF2.1,margarett/SMF2.1,StealthWombat/SMF2.1-more-forkery,MustafaCan/SMF2.1