Merge pull request #2414 from phptek/issue/2398

FIX: Fixes #2398
FIX: Fixes #2382
- Errors are thrown in front-end should the parser encounter a shortcode with a value of '0'
- Added test