Do not index into zero sized vector
refs #2435
Merge pull request #2873 from permcody/fix_debug_error

Do not index into zero sized vector
Merge commit '183876995167ba029d8bf065d4b097064180a626'