DS-452 Fixes undefined index errors in custom settings form