Fixes bug, resolves #116

Forgot that this function is called outside of the shortcode and needs a default value. Now it has it.