Bug #2541: Fix contributed by Gareth Bult <gareth@linux.co.uk>. Defaults 0 to monitor probes when error occur to prevent syntax errors

(cherry picked from commit 50a288e50d30b925d69070e18d5998020bcb599f)