FIX: Fixes #2382

- Errors are thrown in front-end should the shortcode parser encounter a shortcode with a value of '0'
- Added test