Fixes issue with the stability state in PEAR, fixes #1184