Improving code readability per WP Coding Standards
Bug fix: checking to see if array keys exist before referencing them

Special thanks to Aaron Holbrook for the bug report
Upping version