Do a null check before attempting capitalization.
Version 1.0.1